Valued\WordPress\BasePlugin S

Total Complexity 48
Dependencies 5
Dependents 3
Total lines 288
Lines of code 226
Logical lines of code 83
Comment lines 14
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
getCustomAttributes()
S
49 6 32
getSelectOptions()
S
58 4 15
init()
S
58 3 15
isUniqueAttribute()
S
66 4 8
locateTemplate()
S
69 3 6
getProductMetaKeys()
S
55 1 22
activatePlugin()
S
61 1 16
getInstance()
S
70 2 6
showUpdateNotice()
S
68 2 7
getProductKeys()
S
60 1 13
addUpdateNoticeDismissScript()
S
61 1 13
getMetaValue()
S
63 1 12
getSlug()
S
100 1 0
getName()
S
100 1 0
getMainDomain()
S
100 1 0
getDashboardDomain()
S
100 1 0
loadTranslations()
S
70 1 7
getOptionName()
S
79 1 3
getInviteErrorsTable()
S
78 1 3
render()
S
71 1 6
getPluginFile()
S
74 1 4
isWoocommerceActivated()
S
80 1 3
getActiveGtinPlugin()
S
76 1 4
isValidGtin()
S
79 1 3
getUpdateMessage()
S
79 1 3
getUpdateNotices()
S
82 1 3
getUpdateNoticeClass()
S
80 1 3
getUpdateNoticeDismissedAjaxHook()
S
80 1 3
dismissUpdateNotice()
S
72 1 6
shouldDisplayUpdateNotice()
S
69 1 7
getVersion()
S
82 1 3